Proof-Based Synthesis of Sorting Algorithms for Trees

نویسندگان

  • Isabela Dramnesc
  • Tudor Jebelean
  • Sorin Stratulat
چکیده

We develop various proof techniques for the synthesis of sorting algorithms on binary trees, by extending our previous work on the synthesis of algorithms on lists. Appropriate induction principles are designed and various speci c prove-solve methods are experimented, mixing rewriting with assumption-based forward reasoning and goal-based backward reasoning à la Prolog. The proof techniques are implemented in the Theorema system and are used for the automatic synthesis of several algorithms for sorting and for the auxiliary functions, from which we present few here. Moreover we formalize and check some of the algorithms and some of the properties in the Coq system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Proof Techniques for the Synthesis of Sorting Algorithms

We develop proof techniques for the synthesis of sorting algorithms in the automated reasoning environment Theorema (www.theorema.org), which allows to define and organize the logical formulae expressing mathematical theories and algorithm specifications, as well as to construct proofs. In this system, we prove automatically the formalization of the synthesis statement “for any list, there exis...

متن کامل

Design, Development and Evaluation of an Orange Sorter Based on Machine Vision and Artificial Neural Network Techniques

ABSTRACT- The high production of orange fruit in Iran calls for quality sorting of this product as a requirement for entering global markets. This study was devoted to the development of an automatic fruit sorter based on size. The hardware consisted of two units. An image acquisition apparatus equipped with a camera, a robotic arm and controller circuits. The second unit consisted of a robotic...

متن کامل

A knowledge-based NSGA-II approach for scheduling in virtual manufacturing cells

This paper considers the job scheduling problem in virtual manufacturing cells (VMCs) with the goal of minimizing two objectives namely, makespan and total travelling distance. To solve this problem two algorithms are proposed: traditional non-dominated sorting genetic algorithm (NSGA-II) and knowledge-based non-dominated sorting genetic algorithm (KBNSGA-II). The difference between these algor...

متن کامل

A Case Study in Proof Based Synthesis of Sorting Algorithms

We present a case study in proof based constructive synthesis of sorting algorithms. Using a knowledge base containing the necessary properties of tuples, we start from the specification of the problem (input and output conditions) and we construct an inductive proof of the fact that for each input there exists a sorted tuple. During the proof our problem reduces into simpler and simpler proble...

متن کامل

A Simplified Derivation of Timing Complexity Lower Bounds for Sorting by Comparisons

We present a simplified derivation of the fact that the complexity-theoretic lower bound of comparison-based sorting algorithms, both for the worst-case and for the average-case time measure, is Ω(nlogn). The standard proofs typically are directly presented over decision trees. The proof for the average-case however relies on differential calculus, which presents a main hurdle in undergraduate ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016